package cn.iocoder.yudao.module.peizhen.controller.app.hospital.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.*;

@Schema(description = "用户 APP - 医院新增/修改 Request VO")
@Data
public class AppHospitalSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18629")
    private Integer id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "类型,三甲，专科，综合等")
    private String label;

    @Schema(description = "重点科室")
    private String department;

    @Schema(description = "医院简介")
    private String intro;

    @Schema(description = "省编码")
    private Integer provinceCode;

    @Schema(description = "省")
    private String province;

    @Schema(description = "市编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "市编码不能为空")
    private Integer cityCode;

    @Schema(description = "市", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "市不能为空")
    private String city;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "经纬度")
    private String coordinate;

    @Schema(description = "背景", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "背景不能为空")
    private String cover;

    @Schema(description = "缩略图", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "缩略图不能为空")
    private String icon;

    @Schema(description = "排序（由小到大）")
    private Integer sort;

}